package com.example.administrator.shzs.url;

import okhttp3.OkHttpClient;

/**
 * URL地址
 */
public class Contents {
    public static final OkHttpClient okhttp = new OkHttpClient();


    /**
     *  .Net服务器地址
     */
    public static final String NET_SERVER_IP = "http://121.42.163.47:8080";



    /**
     * Java服务器地址
     */
    public static final String JAVA_NET_SERVER_IP="http://121.42.163.47:8060";



    //首页轮播图解析
    public static final String INDEX_Carouse = NET_SERVER_IP + "/App/Android/specialad.aspx";


    //    首页商家店铺
    public static final String INDEX_XRECYCLE = NET_SERVER_IP + "/App/Android/GetShopListByLocation.aspx";

    //积分兑换列表
    public static final String INDEX_INTEGRAL = NET_SERVER_IP + "/App/Android/GetGiftList.aspx?ordertype=1&isbuy=0&pagesize=20&pageindex=";

    /**
     * 积分兑换详情
     */
    public static final String INTEGRAL_DETAILS = NET_SERVER_IP + "/App/Android/GetGiftDetail.aspx?id=";


    // 首页中间页面
    public static final String INDEX_CTENTENT = NET_SERVER_IP + "/App/Android/GetShopTypeList.aspx?languageType=2&indexpage=1&pid=1&pagesize=100";

    /**
     * 商品分类数据
     */
    public static final String SORT_URL = NET_SERVER_IP + "/App/Android/GetFoodTypeListByShopId.aspx?shopid=";

    
    /**
     * 商家详情
     */
    public static final String shop_detail_url=NET_SERVER_IP+"/App/Android/GetShopDetailByShopId.aspx";


    /**
     * 商品内容数据
     */
    public static final String SORT_CONTENT_URL = NET_SERVER_IP + "/App/Android/getfoodlistbyshopid.aspx?shopsortid=";

    /**
     * 用户版注册获取验证码
     */
    public static final String USER_REGISTER_AUTH_CODE_URL = NET_SERVER_IP + "/App/Android/sendcode.aspx?tel=";


    /**
     * 用户版注册
     */
    public static final String USER_REGISTER_URL = NET_SERVER_IP + "/App/Android/NewRegedit.aspx";


    /**
     * 登陆
     */
    public static final String USER_LOGIN_URL = NET_SERVER_IP + "/App/Android/login.aspx?";


    /**
     * 用户地址列表
     */
    public static final String USER_ADDRESS_LISTING = NET_SERVER_IP + "/App/Android/GetUserAddressList.aspx?userid=";


    /**
     * 订单列表 全部
     */

    public static final String ORDER_ALL = NET_SERVER_IP + "/App/Android/getorderlistbyuserid.aspx?userid=";

    /**
     * 待评价类表
     */
    public static final String ORDER_EVALUATE = NET_SERVER_IP + "/App/Android/GetNeedReviewOrderList.aspx?userid=";


    /**
     * 订单详情列表
     */
    public static final String ORDER_LIST = NET_SERVER_IP + "/App/Android/GetOrderDetailByOrderId.aspx?orderid=";
    /**
     * 个人信息中心
     */
    public static final String USER = NET_SERVER_IP + "/App/Android/getuserinfo.aspx?userid=";

    /**
     * 提交兑换
     */
    public static final String SUBMIT = NET_SERVER_IP + "/App/Android/changegift.aspx";

    /**
     * 礼品订单列表
     */
    public static final String USER_GIFT_ORDE_LISTING = NET_SERVER_IP + "/App/Android/GetIntegralList.aspx?pageindex=";


    /**
     * 当前积分列表详情
     */
    public static final String USER_INTEGRA_LISTING = NET_SERVER_IP + "/App/Android/pointrecordlist.aspx?userid=";


    /**
     * 修改登陆密码
     */
    public static final String USER_MODIFICATION_LOGIN_PASSWORD = NET_SERVER_IP + "/App/Android/ResetPassword.aspx?userid=";

    /**
     * 新增用户收货地址
     */
    public static final String USER_NEW_ADD_USER_SHIPPING_ADDRESS = NET_SERVER_IP + "/App/Android/SaveUserAddress.aspx";


    /**
     * 购物车提交订单
     */
    public static final String SUBMIT_ORDER = NET_SERVER_IP + "/App/Android/SubmitOrder.aspx";

    /**
     * 搜索
     */
    public static final String INDEX_SOSO= NET_SERVER_IP +   "/App/Android/GetShopListByLocation.aspx";

    /**
     * 用户评论列表
     */
    public static final String EVALUATE_LIST_URL=NET_SERVER_IP+"/App/Android/reviewlist.aspx";


    /**
     *  生成支付编号(订单编号+001
     */
    public static final String PAY_ORDERID_URL=NET_SERVER_IP+"/App/Android/buildpaynum.aspx";


    /**
     * 当面付
     */
    public static final String DANGMIAN_PAY = NET_SERVER_IP + "/App/Android/PayToStoreSubmitOrder.aspx";

    /**
     * 提交评论
     */
    public static  final String SUBMIT_EVALUATE= NET_SERVER_IP +"/App/Android/submitreview.aspx";


    /**
     * 关注的商家列表
     */
    public static final String COLLECT_SHOP_LIST_URL=NET_SERVER_IP+"/App/Android/GetUserCollectShop.aspx?";


    /**
     * 收藏或取消收藏商家
     */
    public static final String COLLECT_SHOP_URL=NET_SERVER_IP+"/App/Android/SaveCollection.aspx";

}
